package cn.stylefeng.guns.modular.shi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 种草评价表
 * </p>
 *
 * @author 石博士
 * @since 2019-11-15
 */
@TableName("s_recommend_evaluation")
public class SRecommendEvaluation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 种草评价表id
     */

    private Long id;

    /**
     * 商品名称id
     */
    @TableId("name_id")
    private String nameId;

    /**
     * 商品名称
     */
    @TableField("name")
    private String name;

    /**
     * 评价时间
     */
    @TableField("evaluation_time")
    private Date evaluationTime;

    /**
     * 评价图片
     */
    @TableField("pictures_url")
    private String picturesUrl;

    /**
     * 评价视频
     */
    @TableField("video_url")
    private String videoUrl;

    /**
     * 评价内容
     */
    @TableField("contents")
    private String contents;

    /**
     * 评价人的openid
     */
    @TableField("openid")
    private String openid;

    /**
     * 评价人的微信昵称
     */
    @TableField("openid_name")
    private String openidName;

    /**
     * 是否点赞，0未点赞，1已点赞
     */
    @TableField("likeid")
    private Long likeid;

    /**
     * 显示 未点赞 或者已点赞
     */
    @TableField("likeid_name")
    private String likeidName;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNameId() {
        return nameId;
    }

    public void setNameId(String nameId) {
        this.nameId = nameId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getEvaluationTime() {
        return evaluationTime;
    }

    public void setEvaluationTime(Date evaluationTime) {
        this.evaluationTime = evaluationTime;
    }

    public String getPicturesUrl() {
        return picturesUrl;
    }

    public void setPicturesUrl(String picturesUrl) {
        this.picturesUrl = picturesUrl;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        this.contents = contents;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getOpenidName() {
        return openidName;
    }

    public void setOpenidName(String openidName) {
        this.openidName = openidName;
    }

    public Long getLikeid() {
        return likeid;
    }

    public void setLikeid(Long likeid) {
        this.likeid = likeid;
    }

    public String getLikeidName() {
        return likeidName;
    }

    public void setLikeidName(String likeidName) {
        this.likeidName = likeidName;
    }

    @Override
    public String toString() {
        return "SRecommendEvaluation{" +
        "id=" + id +
        ", nameId=" + nameId +
        ", name=" + name +
        ", evaluationTime=" + evaluationTime +
        ", picturesUrl=" + picturesUrl +
        ", videoUrl=" + videoUrl +
        ", contents=" + contents +
        ", openid=" + openid +
        ", openidName=" + openidName +
        ", likeid=" + likeid +
        ", likeidName=" + likeidName +
        "}";
    }
}
